package com.well.register.console.controller;

import com.well.register.console.util.RpcResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * RPC服务管理首页
 * </p>
 *
 * @author weedo
 * @since 2022/7/30
 */

@RequestMapping("rpc")
@RestController
public class RpcController {

    @GetMapping("health")
    public RpcResponse<Object> health() {
        return RpcResponse.ok();
    }
}
